uuBUF='uucpconnect:'||lf||'Print "ERROR: UUCP is not installed\n"'||lf||'Return'||lf||'uucp_inbound:'||lf||'Send "There are no UUCP logins here'nl'"'||lf||'Return'||lf||'getuulogin:'||lf||'Print "ERROR: UUCP is not installed\n"'||lf||'Return'||lf
end
if debug & log then address 'ROOFLOG' 'logline' left(time(),5) script': UucpBUF:'length(uuBUF)
if wpldebug then notBUF=notBUF||'RexxMsg NY LOGPROC "PutLog 'loggroup' $<time> $(line) Expected:[$(resumefile.$(remote.address))] Recd:[$(remfile)]"'||lf
if ROOFLOG then notBUF=notBUF||'RexxMsg FY ROOFLOG "SHOWRECD $(line) $(remfile) $(remote.address) $(filesize) $(cps) $(baud)"'||lf
notBUF=notBUF||'Cmp $(issecure) TRUE'||lf||'TrueJump knownsite'||lf||'RexxMsg NY LOGPROC "PutLog 'loggroup' $<time> $(line) $(remfile) from $(remote.address) is non-secure"'||lf
if SHOWXPRASC then xprBUF=xprBUF||'Set RC $(showxpr)'||lf||'FalseReturn'||lf||'SetUpDate "RAW:0/$($(line).w_offset)/640/130/Line $(line) $(protocol) $(session)/AUTO/INACTIVE/NOCLOSE/NOSIZE/SCREEN$(pscreen)"'||lf
else xprBUF=xprBUF||'SetUpdate NULL'||lf
xprBUF=xprBUF||'Return'||lf
xprBUF=xprBUF||'j_ascii_end:'||lf||'XprClose'||lf||'SetUpdate NULL'||lf||'RexxMsg NY LOGPROC "FlushLog 'loggroup'"'||lf
if ROOFLOG then xprBUF=xprBUF||'RexxMsg FY ROOFLOG "UPDATE_STAT $(filesout)"'||lf
if showxpr then clkBUF=clkBUF||'SetUpDate "RAW:0/$($(line).w_offset)/640/130/Line $(line) $(protocol) $(session)/AUTO/INACTIVE/NOCLOSE/NOSIZE/SCREEN$(pscreen)"'||lf
dialBUF=dialBUF||'RexxMsg NY LOGPROC "PutLog roofwpl $<time> $(line) PreSession RC:$(RC) $(dialrc)"'||lf
dialBUF=dialBUF||'Return'||lf
dialBUF=dialBUF||'dialftn:'||lf||'Set state "DIALING FTN $(remote.address)"'||lf
if addspeech then dialBUF=dialBUF||'Set sl 70 speech $(state)'||lf||'SubJump sayit'||lf
dialBUF=dialBUF||'RexxMsg NY LOGPROC "PutLine 'statgroup' $(p.status) $(state)"'||lf||'ModemClear'||lf
if loosespec & strictzmh & addemsi then do
dialBUF=dialBUF||'RexxMsg SY "return((time(m)<(left(word(\"$(umh)\",1),2)*60+right(word(\"$(umh)\",1),2)))|(time(m)>(left(word(\"$(umh)\",2),2)*60+right(word(\"$(umh)\",2),2))))"'||lf
dialBUF=dialBUF||'RexxMsg NY LOGPROC "PutLog 'loggroup' $<time> $(line) Got Ring during dial"'||lf
dialBUF=dialBUF||'RexxMsg NY LOGPROC "PutLine 'statgroup' $(p.status) Inbound call Dial interrupt"'||lf
dialBUF=dialBUF||'ReplyCall 5'||lf||'set txt "'nl' Welcoming you despite the fact you interrupted my dialing out'nl'"'||lf||'SubJump 'l_mailer'!fidonethost'||lf||'Jump answer'||lf
dialBUF=dialBUF||'nonumber:'||lf||'Set dialrc 6'||lf||'RexxMsg NY LOGPROC "PutLog 'loggroup' $<time> $(line) No phone number for $(remote.address)"'||lf||'Jump dodial_exit'||lf
if sc_connect then ansBUF=ansBUF||'SetStatus "$(openstatus)"'||lf
ansBUF=ansBUF||'Set txt "'nl||emsiserial' ${WPLVER}'||nl||'$(sysver)'nl' You have a $(lastresponse) on line $(line) at $<time> on $<date>'nl''||lf||'SubJump showtxt'||lf
if sendbanner then ansBUF=ansBUF||'SubJump sendbanner'||lf||'CheckCarrier'||lf||'FalseJump lost_carrier'||lf
if adduucp then ansBUF=ansBUF||'Set txt "Do NOT use your name to login:'nl'"'||lf||'SubJump showtxt'||lf
ansBUF=ansBUF||'SetPri $(negopri)'||lf||'Set state "SESSION $(session) unknown"'||lf
ansBUF=ansBUF||'RexxMsg NY LOGPROC "PutLine 'statgroup' $(p.status) $(session) $(p.baud) $(baud)"'||lf
if addemsi then do
ansBUF=ansBUF||'Set host.link "8N1"'||lf
if strictzmh then do
ansBUF=ansBUF||'RexxMsg SY "return((time(m)<(left(word(\"$(umh)\",1),2)*60+right(word(\"$(umh)\",1),2)))|(time(m)>(left(word(\"$(umh)\",2),2)*60+right(word(\"$(umh)\",2),2))))"'||lf
if umbrella then ansBUF=ansBUF||'Set txt "$(txt) 'nl'Mailers only!'nl'"'||lf
else ansBUF=ansBUF||'Set txt "$(txt) $(sysprompt)"'||lf||'Cmp ${'envpath'ACCESS} TRUE'||lf||'TrueJump allwelcome'||lf||'Set txt "$(txt) 'nl'Mailers only at this time for login: "'||lf
ansBUF=ansBUF||'login2:'||lf||'SetPri $(launchpri)'||lf||'Set state "SESSION INBOUND $(remote.address)"'||lf
ansBUF=ansBUF||'RexxMsg NY LOGPROC "PutLine 'statgroup' $(p.remote) $(remote.address)"'||lf
if ROOFLOG then ansBUF=ansBUF||'RexxMsg FY ROOFLOG "LOGLINE $<time> WPL$(line): Inbound WAZOO FTN Session $(remote.address) @ $(baud)"'||lf
ansBUF=ansBUF||'Set called $(remote.address)'||lf||'Set RC $(useakasin.$(remote.address))'||lf||'FalseJump login3'||lf||'Set called "$(akalist.$(remote.number))"'||lf
userBUF=userBUF||'RexxMsg SY "return( (time(m)<(left(word(\"$(umh)\",1),2)*60+right(word(\"$(umh)\",1),2)))|(time(m)>(left(word(\"$(umh)\",2),2)*60+right(word(\"$(umh)\",2),2))) )"'||lf
userBUF=userBUF||'RexxMsg SY REXX "x=space(\"$(namebuf)\",1);return((index(x,\"_\")=0)&(index(x,\".\")=0)&(index(x,\"?\")=0)&(words(x)>1)&(length(x)>6))"'||lf
userBUF=userBUF||'Set txt " Your real name is required to access our services'nl' There should be no punctuation marks,'nl' dashs are permitted.'nl'""'||lf||'SubJump showtxt'||lf
userBUF=userBUF||'Set namebuf $(usrcmdbuf) user FALSE RC FALSE'||lf||'Return'||lf
userBUF=userBUF||'set_it:'||lf
userBUF=userBUF||'RexxMsg "SY,RY" REXX "x=BITOR(space(\"$(namebuf)\",1),\"20\"x);y=\"\";do z=1 to words(x);y=y||Upper(Left(Word(x,z),1))||SubStr(Word(x,z),2)||\"20\"x;end;return strip(y)"'||lf
userBUF=userBUF||'Set username $(result2)'||lf
if ROOFLOG then userBUF=userBUF||'RexxMsg FY ROOFLOG "LOGLINE $<time> WPL$(line): Inbound HUMAN Session $(username) @ $(baud)"'||lf
userBUF=userBUF||'RexxMsg NY LOGPROC "PutLine 'statgroup' $(p.inbound) USER"'||lf